package com.zdkj.subway.support.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zdkj.subway.support.dto.in.SwParamStTicketTypeDTO;
import com.zdkj.subway.support.dto.out.StTicketTypeDetailDTO;
import com.zdkj.subway.support.entity.SwParamStTicketType;
import com.zdkj.subway.support.mapper.SwParamStTicketTypeMapper;
import com.zdkj.subway.support.service.SwParamStTicketTypeService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 票库车票类型表
 *
 * @author cui_com
 * @date 2020-01-08 17:13:41
 */
@Service
@AllArgsConstructor
public class SwParamStTicketTypeServiceImpl extends ServiceImpl<SwParamStTicketTypeMapper, SwParamStTicketType> implements SwParamStTicketTypeService {

    private SwParamStTicketTypeMapper swParamStTicketTypeMapper;

    @Override
    public IPage<StTicketTypeDetailDTO> queryDetailByPage(IPage page, Wrapper queryWrapper) {
        return swParamStTicketTypeMapper.queryDetailByPage(page, queryWrapper);
    }
}
